package com.youzhi.backend.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.FieldNameConstants;

import java.util.List;

@Data
@FieldNameConstants
@ApiModel("给角色添加权限请求")
public class AddPrivilegeRequest {


    @ApiModelProperty("角色id")
    private Long roleId;


    @ApiModelProperty("权限Privilege的code集合")
    private List<String> codes;



}
